<?php

/**
 * Description of MoviesController
 *
 * @author talapaku
 */
model("movie");
class MoviesController extends ApplicationController {
    //put your code here
    public function index(){
        $this->variables['title']="Hello Movies";
        $this->variables['movies']=new movie();
        $this->view("movies","index");
    }
    public function delete(){
        $this->sendJSONResponse(["hello","world"]);
    }
}
